import "./assets/main.css";
import { createApp } from "vue";

import { createPinia } from "pinia";
const pinia = createPinia();
const persist = createPersistedState();
pinia.use(persist);
import { createPersistedState } from "pinia-plugin-persistedstate";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

import App from "./App.vue";
import router from "./router";

pinia.use(createPersistedState);

const app = createApp(App);
app.use(ElementPlus);
app.use(router);

app.use(pinia);

app.mount("#app");
